﻿// LightNet - Lightweight .NET Framework
// Copyright (c) 2010 http://lightnet.codeplex.com

namespace System.Runtime.CompilerServices
{
    /// <summary>
    /// Defines how a method is implemented.
    /// </summary>
    public enum MethodCodeType
    {
        /// <summary>
        /// Specifies that the method implementation is in Common Intermediate Language (CIL).
        /// </summary>
        IL,
        /// <summary>
        /// Specifies that the method is implemented in native code.
        /// </summary>
        Native,
        /// <summary>
        /// Specifies that the method implementation is in optimized intermediate language (OPTIL).
        /// </summary>
        OPTIL,
        /// <summary>
        /// Specifies that the method implementation is provided by the runtime.
        /// </summary>
        Runtime
    }
}
